package com.linkgie.galaxyframework.web.client;

import com.linkgie.galaxyframework.httpproxy.HttpRequestDefinition;
import com.linkgie.galaxyframework.httpproxy.ResponseConverter;
import com.linkgie.galaxyframework.httpproxy.ResponseConverterFactory;

/**
 * Web 接口的返回值转换器工厂；
 * <p>
 * 已经在版本 2.8.9.RELEASE 中被废弃，请使用 {@link ServiceResponseHandlerFactory} 代替；
 */
@Deprecated
public class ServiceResponseConverterFactory implements ResponseConverterFactory{
    @Override
	public ResponseConverter createResponseConverter(HttpRequestDefinition requestDefinition,  Class<?> returnType) {
		return new ServiceResponseConverter(returnType);
	}
}

